package com.product.shopping.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2020-03-10 23:34:03
 */
public class Product implements Serializable {
    private static final long serialVersionUID = -32092285637360305L;
    /**
    * 主键
    */
    private Integer id;
    /**
    * 商品id
    */
    private String pid;
    /**
    * 商品名称
    */
    private String pname;
    /**
    * 商品价格
    */
    private String pmoney;
    /**
    * 库存
    */
    private Integer pnum;
    /**
    * 商品规格
    */
    private String psize;
    /**
    * 增加者
    */
    private String addr;
    /**
    * 增加日期
    */
    private Date addate;
    /**
    * 更新
    */
    private String upddr;
    /**
    * 更新日期
    */
    private Date update;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPmoney() {
        return pmoney;
    }

    public void setPmoney(String pmoney) {
        this.pmoney = pmoney;
    }

    public Integer getPnum() {
        return pnum;
    }

    public void setPnum(Integer pnum) {
        this.pnum = pnum;
    }

    public String getPsize() {
        return psize;
    }

    public void setPsize(String psize) {
        this.psize = psize;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Date getAddate() {
        return addate;
    }

    public void setAddate(Date addate) {
        this.addate = addate;
    }

    public String getUpddr() {
        return upddr;
    }

    public void setUpddr(String upddr) {
        this.upddr = upddr;
    }

    public Date getUpdate() {
        return update;
    }

    public void setUpdate(Date update) {
        this.update = update;
    }

}
